]> dgit.raspbian.org Git - gnome-shell.git/commit
st/private: Don't scale the framebuffer, only the blur pixels
authorDaniel van Vugt <daniel.van.vugt@canonical.com>
Thu, 7 Jan 2021 07:09:55 +0000 (15:09 +0800)
committerDaniel van Vugt <daniel.van.vugt@canonical.com>
Thu, 7 Jan 2021 07:35:55 +0000 (15:35 +0800)
commiteefed95fa75e81fa119f4fffca2d5cf71b8868c6
tree88c4e5efb4d5ff289f4740415697af6578fb5576
parentb51be0e389d92e6b1b444d3134b96c3bfe134bb0
st/private: Don't scale the framebuffer, only the blur pixels

Just as we did before e59069c012.

Callers already ensure the framebuffer is scaled so by scaling a second
time in `_st_create_shadow_pipeline` we actually got resource_scale² which
was visibly incorrect.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3505,
       https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3560

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1543>
src/st/st-private.c